package com.turing.data.model.domain.element;

    import com.baomidou.mybatisplus.annotation.IdType;
    import com.baomidou.mybatisplus.annotation.TableId;
    import com.turing.orm.model.domain.common.BaseDo;
    import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
    import lombok.Builder;
    import lombok.Data;
    import lombok.EqualsAndHashCode;
    import lombok.experimental.Accessors;
    import lombok.AllArgsConstructor;
    import lombok.NoArgsConstructor;


/**
* @Description 
* @Author livin
* @Date 2022-01-20
*/
@ApiModel(value ="")
    @Data
    @EqualsAndHashCode(callSuper = false)
    @Builder(toBuilder = true)
    @Accessors(chain = true)
    @AllArgsConstructor
    @NoArgsConstructor
    public class BusiModelEleRelation extends BaseDo<BusiModelEleRelation> {

            @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Integer id;
        @TableField("ele_id")
    private Integer eleId;
        @TableField("model_ele_id")
    private Integer modelEleId;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}

